package top.superflow.flow.load.process

import top.superflow.flow.config.process.provider.ProcessProviderConfig
import top.superflow.flow.load.Loader
import top.superflow.json.util.JsonUtils

class ProcessProviderLoader extends Loader[ProcessProviderConfig]{

  def load(json : Any) : ProcessProviderConfig = {
    val processProviderConfig = JsonUtils.readJson[ProcessProviderConfig](json, classOf[ProcessProviderConfig])

    processProviderConfig
  }
}
